package com.edu.mybatis.mappers;

import com.edu.mybatis.pojo.Department;
import org.apache.ibatis.annotations.Param;

public interface DepartmentMapper {
    Department getDepartmentByStep2(@Param("department_id") Integer departmentId);

    /**
     * 获取部门以及部门中所有的员工信息
     */
    Department getDepartmentAndEmployee(@Param("department_id") Integer departmentId);

    /**
     * 分布查询部门以及部门中所有的员工信息
     */
    Department getDepartmentAndEmployeeStep1(@Param("department_id") Integer departmentId);
}
